package com.voltmao.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import com.voltmao.persistent.model.DocType;
import com.voltmao.persistent.model.DocTypeCriteria;

import java.util.List;
import java.util.Map;

public interface DocTypeMapper {
    int countByExample(DocTypeCriteria example);

    int deleteByExample(DocTypeCriteria example);

    int deleteByPrimaryKey(String dataId);

    int insert(DocType record);

    int insertSelective(DocType record);

    List<DocType> selectByExample(DocTypeCriteria example);

    DocType selectByPrimaryKey(String dataId);

    int updateByExampleSelective(@Param("record") DocType record, @Param("example") DocTypeCriteria example);

    int updateByExample(@Param("record") DocType record, @Param("example") DocTypeCriteria example);

    int updateByPrimaryKeySelective(DocType record);

    int updateByPrimaryKey(DocType record);

    DocType selectByExampleForOne(DocTypeCriteria example);

    Map<String, Object> selectMapByPrimaryKey(String dataId);

    Map<String, Object> selectMapByExampleForOne(DocTypeCriteria example);

    List<Map<String, Object>> selectMapByExample(DocTypeCriteria example);
}